alien_0 = {'color': 'green', 'points': 5}
alien_1 = {'color': 'yello', 'points': 10}
alien_2 = {'color': 'red', 'points': 15}

aliens = [alien_0, alien_1, alien_2]
for alien in aliens:
    print(alien)

pizza = {
    'crust': 'thick',
    'toppings': ['mushroom', 'extra cheese'],
}
for topping in pizza['toppings']:
    print(topping)

users = {
    'jack': {
        'first': '马',
        'last': '云',
        'location': '杭州'
    },
    'pony': {
        'first': '马',
        'last': '化腾',
        'location': '深圳'
    }
}
for name,userinfo in users.items():
    print(f'user name:{name}')
    print(f"\tfull name:{userinfo['first']}{userinfo['last']}")
    print(f"\tlocation:{userinfo['location']}")